$OpenBSD: patch-qmltermwidget_lib_kpty_cpp,v 1.1.1.1 2015/03/21 19:14:40 bcallah Exp $

Sent upstream.

--- qmltermwidget/lib/kpty.cpp.orig	Fri Jan 30 14:50:56 2015
+++ qmltermwidget/lib/kpty.cpp	Fri Jan 30 14:51:43 2015
@@ -27,9 +27,14 @@
 #include <QtDebug>
 
 
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
 #define HAVE_LOGIN
 #define HAVE_LIBUTIL_H
+#endif
+
+#if defined(__OpenBSD__)
+#define HAVE_LOGIN
+#define HAVE_UTIL_H
 #endif
 
 #ifdef __sgi
